@mixin bg-square {
  background: {
    position: 0 0, 20px 20px;
    color: #fff;
    image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%),
      linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%);
    size: 40px 40px;
  }
}

@mixin flex {
  position: relative;
  display: flex;
  align-items: center;
}
@mixin flex-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@mixin flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

@mixin position-center {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

@mixin blur {
  color: var(--vin-text-color);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
